#import time
#import dailyspents.util as util
#from os.path import join
<html>
<head>
	<title>Daily Spent</title>
	<link rel="stylesheet" href="/static/css/main.css"></link>
	<script type="text/javascript" src="/static/scripts/util.js"></script>
	<script language="JavaScript" src="/static/scripts/calendar3.js"></script>
</head>

<body onload="document.loginForm.login.focus()">
	<div id="site">
		<div id="top">
			<a href="/"><h1>Daily Spent</h1></a>
		</div>
		<div id="content">
		  <!-------------------- LEFT SIDE ------------------------->
		  <div id="left">
			
		  </div>
		  <!-- END OF LEFTSIDE -->
		  <div id="right" style="width: 200px;">
		    <div class="tl"><div class="tr">
			    Sign in
			</div></div>
			<form  name="loginForm" action="doLogin" method="POST">
				<center><p>Sign in to Daily Spent</p>
				#include join(util.HTMLPATH, 'common', 'errorMessages.html')
				</center>
				<table>
					<tr>
						<td><label for="login">username</label></td>
						<td><input type="text" size="10" name="login"/>
                                                </td>
					</tr>
					<tr>
						<td><label for="password">password</label></td>
						<td><input type="password" size="10" 
						   name="password" /></td>
					</tr>
					<tr>
						<td></td>
						<td><input type="submit" value="login"/></td>
					</tr>
					<tr>
					        <td><a href="/user/index?page=newuser">New user</a></td>
					        <td></td>
					</tr>
				</table>
			</form>
			<div class="bl"><div class="br">
			--
			</div></div>
		  </div>
		</div>
		<div id="bottom">
		</div>
	</div>
</body>

</html>
